package com.atguigu.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author zhaolie
 * @Date 2020/12/13 5:26 下午
 * @Version 1.0
 * @Description
 */

public interface VodService {
    /**
     * 上传视频
     * @param file
     * @return
     */
    String uploadVideo(MultipartFile file) throws IOException;

    /**
     * 删除视频
     * @param id
     */
    void removeVideo(String id);
}
